﻿using System;
using System.Windows.Controls;
using System.Windows.Input;
using C1.Phone;

namespace ControlExplorer.Controls.ContextMenu
{
    public partial class ContextMenuDemo : UserControl
    {
        public ContextMenuDemo()
        {
            InitializeComponent();
        }

        private void C1ContextMenu_ItemTap(object sender, GestureEventArgs e)
        {
            MenuFeedback.Text = ((C1MenuItem)sender).Header + " tapped !!";
        }
    }
}